<script setup>
const tonewindex=()=>{
  uni.navigateTo({
    url:'/pages/index/remove_new'
  })
}
</script>

<template>
  <view class="bg">
    <view class="content1">
      请选择请销假方式<br>
    </view>
    <view class="dp">
      <view class="h1">
        <view>
          <image class="img1" src="/static/position.png"></image>
        </view>
        <view>
          <text class="c1">定位销假</text>
          <br>
          <text class="c2">适用于已经到校，免销假审批</text>
        </view>
        <view class="h3">
          <image class="img2" src="/static/选择@2x.png"></image>
        </view>
      </view>
    </view>
    <view class="dp" @click="tonewindex">
      <view class="h1">
        <view>
          <image class="img1" src="/static/refuse.png"></image>
        </view>
        <view>
          <text class="c1">申请销假</text>
          <br>
          <view class="text">
            <text class="c2">适用于请假结束，但仍未到校，需要继续请假</text>
          </view>
        </view>
        <view class="h4">
          <image class="img2" src="/static/椭圆形@2x.png"></image>
        </view>
      </view>
    </view>
    <view class="dpl">
      <view class="content1">
        我的位置<image class="img3" src="/static/刷新@2x.png"></image><br>
      </view>
    </view>
    <view class="point1">
      <view class="point">

      </view>
      <view class="content2">
        请确保您开启了手机定位，小程序授权定位功能
      </view>
    </view>
    <view class="btn">
    <button class="btn1" style="backgroundColor:#BDBDBD;"type="warn" disabled="true">确认销假</button>
    </view>
  </view>
</template>

<style>
.bg {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #F3F5F9;
}

.dp {
  display: flex;
  justify-content: center;
  margin-left: 10px;
  margin-top: 10px;
}

.content1 {
  width: 200px;
  font-family: 黑体;
  font-weight: 500;
  font-size: 15px;
  color: #000000;
  letter-spacing: 0;
  font-weight: bold;
  margin-left: 25px;
  margin-top: 10px;
}

.h1 {
  width: 351px;
  height: 70px;
  background: #FFFFFF;
  border-radius: 12px;
  display: flex;
  justify-content: start;
  align-items: center;
}

.img1 {
  width: 28px;
  height: 28px;
  margin-left: 10px;
}

.c1 {
  font-family: 黑体;
  font-weight: 400;
  font-size: 15px;
  color: #000000;
  letter-spacing: 0;
  margin-left: 10px;
}

.c2 {
  font-family: 黑体;
  font-weight: 400;
  font-size: 12px;
  color: #777777;
  letter-spacing: 0;
  margin-left: 10px;
  width: 240px;
}

.img2 {
  width: 14px;
  height: 14px;
}

.h3 {
  width: 130px;
  display: flex;
  justify-content: end;
}

.text {
  width: 250px;
}

.h4 {
  width: 45px;
  display: flex;
  justify-content: end;
}
.img3{
  width: 16px;
  height: 16px;
  margin-bottom:-3px;
}
.dpl{
  width: 350px;
  height: 50px;
  display: flex;
  align-items: center;
}
.content2{
  font-family: 黑体;
  font-weight: 400;
  font-size: 12px;
  color: #777777;
  letter-spacing: 0;
  margin-left: 5px;
}
.point{
  width: 5px;
  height: 5px;
  background: #00E856;
  margin-left: 15px;
}
.point1{
  display: flex;
  justify-content: start;
  align-items: center;
}
.btn{
  width:392px;
  position: fixed;
  bottom: 0px;
  display: flex;
  justify-content: center;
}
.btn1{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 351px;
  height: 50px;
  font-family: 黑体;
  font-size: 15px;
}
</style>